﻿@using ORM.Resources
@model ORM.ViewModels.Account.ResetPasswordViewModel		   

<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
<table class="contentBox" width="100%" style="vertical-align: top" >
    <tr>
        <th class="boxTitle">Tạo mật khẩu mới</th>
    </tr>
<tr>
    <td style="vertical-align: top">
        @* @Html.ValidationSummary(true, ValidationMessages.Summary)*@
        
        Khởi tạo mật khẩu
        <br/><br/>
        <hr style="border: solid 1px gainsboro;"/>
        @using (Html.BeginForm())
        {
            @Html.ValidationSummary(true, ValidationMessages.Summary)

            <div class="editor-label">
                @Html.LabelFor(m => m.Password)
                <small>(tối thiểu 6 ký tự)</small>
            </div>
           
                    <div class="editor-field">
                        @Html.PasswordFor(m => m.Password)
		                @Html.ValidationMessageFor(m => m.Password)
                    </div>

                    <div class="editor-label">
                       @Html.LabelFor(m => m.ConfirmPassword)
                    </div>
                    <div class="editor-field">
                       @Html.PasswordFor(m => m.ConfirmPassword)
				@Html.ValidationMessageFor(m => m.ConfirmPassword)
                    </div>                   
                    <br/>
                    <p>
                        <input type="submit" class = "colorButton" value="Khởi tạo" />
                    </p>
        }
    </td>
</tr>
</table>
